package com.project.entity;

import com.project.util.DateUtil;

public class Message {

	private String id;
	private String cont;
	private String createtime;
	private String userid;
	private String projectid;
	private User user;
	private Project project;
	public String getTime() {
		return DateUtil.getNiceDate(this.createtime);
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Project getProject() {
		return project;
	}
	public void setProject(Project project) {
		this.project = project;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getProjectid() {
		return projectid;
	}
	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public void setCont(String cont) {
		this.cont = cont;
	}
	public String getCont() {
		return cont;
	}
	
}
